[INFO] cloning repository https://github.com/Nanopro/file-dialog
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nanopro/file-dialog" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNanopro%2Ffile-dialog", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNanopro%2Ffile-dialog'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 08746e485384b5a93a60d770f9ad1386a44d8e6a
[INFO] checking Nanopro/file-dialog against try#72f88fc4e9458f89516a0b8b0868f3718aec5b47 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNanopro%2Ffile-dialog" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Nanopro/file-dialog on toolchain 72f88fc4e9458f89516a0b8b0868f3718aec5b47
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Nanopro/file-dialog
[INFO] finished tweaking git repo https://github.com/Nanopro/file-dialog
[INFO] tweaked toml for git repo https://github.com/Nanopro/file-dialog written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/Nanopro/file-dialog already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] error: the lock file /workspace/builds/worker-3/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 48c7b7c437ee444a6c3d419f9a1f4a2a90289f9137f2bac5b6a20712819f2f7e
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "48c7b7c437ee444a6c3d419f9a1f4a2a90289f9137f2bac5b6a20712819f2f7e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "48c7b7c437ee444a6c3d419f9a1f4a2a90289f9137f2bac5b6a20712819f2f7e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "48c7b7c437ee444a6c3d419f9a1f4a2a90289f9137f2bac5b6a20712819f2f7e", kill_on_drop: false }`
[INFO] [stdout] 48c7b7c437ee444a6c3d419f9a1f4a2a90289f9137f2bac5b6a20712819f2f7e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 50fe087c7899f6c983ec1ddb5eb790f67b009cae6990dac73945182bb847b75b
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "50fe087c7899f6c983ec1ddb5eb790f67b009cae6990dac73945182bb847b75b", kill_on_drop: false }`
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling libloading v0.6.3
[INFO] [stderr]    Compiling xml-rs v0.8.3
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking downcast-rs v1.2.0
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking xdg v2.2.0
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]     Checking memmap v0.7.0
[INFO] [stderr]     Checking raw-window-handle v0.3.3
[INFO] [stderr]     Checking smallvec v0.6.13
[INFO] [stderr]     Checking stb_truetype v0.3.1
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]     Checking dlib v0.4.2
[INFO] [stderr]     Checking wayland-sys v0.21.13
[INFO] [stderr]     Checking file-dialog v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 | use winapi::um::{
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OPENFILENAMEA` in this scope
[INFO] [stdout]   --> src/lib.rs:22:19
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let mut open: OPENFILENAMEA = unsafe { std::mem::zeroed() };
[INFO] [stdout]    |                   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OPENFILENAMEA` in this scope
[INFO] [stdout]   --> src/lib.rs:24:44
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn open_dialog<T: Sized>(hwnd: *mut T) -> Option<String> {
[INFO] [stdout]    |                            - help: you might be missing a type parameter: `, OPENFILENAMEA`
[INFO] [stdout] ...
[INFO] [stdout] 24 |     open.lStructSize = std::mem::size_of::<OPENFILENAMEA>() as _;
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetOpenFileNameA` in this scope
[INFO] [stdout]   --> src/lib.rs:29:24
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let res = unsafe { GetOpenFileNameA(&mut open) };
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OPENFILENAMEA` in this scope
[INFO] [stdout]   --> src/lib.rs:39:19
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let mut open: OPENFILENAMEA = unsafe { std::mem::zeroed() };
[INFO] [stdout]    |                   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OPENFILENAMEA` in this scope
[INFO] [stdout]   --> src/lib.rs:41:44
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn open_dialog_windowless() -> Option<String> {
[INFO] [stdout]    |                              - help: you might be missing a type parameter: `<OPENFILENAMEA>`
[INFO] [stdout] ...
[INFO] [stdout] 41 |     open.lStructSize = std::mem::size_of::<OPENFILENAMEA>() as _;
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetOpenFileNameA` in this scope
[INFO] [stdout]   --> src/lib.rs:45:24
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let res = unsafe { GetOpenFileNameA(&mut open) };
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OPENFILENAMEA` in this scope
[INFO] [stdout]   --> src/lib.rs:55:19
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let mut open: OPENFILENAMEA = unsafe { std::mem::zeroed() };
[INFO] [stdout]    |                   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OPENFILENAMEA` in this scope
[INFO] [stdout]   --> src/lib.rs:57:44
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub fn save_dialog<T: Sized>(hwnd: *mut T) -> Option<String> {
[INFO] [stdout]    |                            - help: you might be missing a type parameter: `, OPENFILENAMEA`
[INFO] [stdout] ...
[INFO] [stdout] 57 |     open.lStructSize = std::mem::size_of::<OPENFILENAMEA>() as _;
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSaveFileNameA` in this scope
[INFO] [stdout]   --> src/lib.rs:62:24
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let res = unsafe { GetSaveFileNameA(&mut open) };
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OPENFILENAMEA` in this scope
[INFO] [stdout]   --> src/lib.rs:71:19
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let mut open: OPENFILENAMEA = unsafe { std::mem::zeroed() };
[INFO] [stdout]    |                   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OPENFILENAMEA` in this scope
[INFO] [stdout]   --> src/lib.rs:73:44
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub fn save_dialog_windowless() -> Option<String> {
[INFO] [stdout]    |                              - help: you might be missing a type parameter: `<OPENFILENAMEA>`
[INFO] [stdout] ...
[INFO] [stdout] 73 |     open.lStructSize = std::mem::size_of::<OPENFILENAMEA>() as _;
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSaveFileNameA` in this scope
[INFO] [stdout]   --> src/lib.rs:77:24
[INFO] [stdout]    |
[INFO] [stdout] 77 |     let res = unsafe { GetSaveFileNameA(&mut open) };
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CString`, `OsString`, `c_void`
[INFO] [stdout]  --> src/lib.rs:3:22
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::ffi::{CStr, CString, c_void, OsString};
[INFO] [stdout]   |                      ^^^^^^^  ^^^^^^  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/lib.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 |     if (res != 0) {
[INFO] [stdout]    |        ^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/lib.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 |     if (res != 0) {
[INFO] [stdout]    |        ^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/lib.rs:63:8
[INFO] [stdout]    |
[INFO] [stdout] 63 |     if (res != 0) {
[INFO] [stdout]    |        ^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/lib.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 |     if (res != 0) {
[INFO] [stdout]    |        ^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `file-dialog`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "50fe087c7899f6c983ec1ddb5eb790f67b009cae6990dac73945182bb847b75b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "50fe087c7899f6c983ec1ddb5eb790f67b009cae6990dac73945182bb847b75b", kill_on_drop: false }`
[INFO] [stdout] 50fe087c7899f6c983ec1ddb5eb790f67b009cae6990dac73945182bb847b75b
